package com.ponhu.ea2.vo;

import com.ponhu.ea2.dto.CloudTradeInventoryProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("云商商品详情VO")
public class CloudTradeGoodsDetailVO implements Serializable {

    private static final long serialVersionUID = -5988163666074163310L;
    
    @ApiModelProperty("渠道商品编码")
    private String channelGoodsCode;
    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("货品主图")
    private String mainImage;

    @ApiModelProperty("货品细节图")
    private List<String> detailImages;

    @ApiModelProperty("入库价格")
    private BigDecimal inPrice;

    @ApiModelProperty("建议售价")
    private BigDecimal advicePrice;

    @ApiModelProperty("采购价")
    private BigDecimal purchasePrice;

    @ApiModelProperty("市场价格")
    private BigDecimal marketPrice;

    @ApiModelProperty("供货价")
    private BigDecimal supplyPrice;

    @ApiModelProperty("备注")
    private String remarks;
    @ApiModelProperty("成色")
    private String quality;
    @ApiModelProperty("入库方式")
    private String inWay;
    @ApiModelProperty("货源")
    private String inventorySource;

    @ApiModelProperty("审核状态(0:待审核；1:审核通过；2:审核不通过)")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("物料数据VO")
    private PhMaterialVo phMaterialVo;

    @ApiModelProperty("瑕疵")
    private String flaw;

    @ApiModelProperty("原产地")
    private String provenance;

    @ApiModelProperty(value = "销售模式(1以采定销;2以销定采)")
    private Integer salesModel;

    @ApiModelProperty(value = "三级分类id")
    private Long thirdCategoryId;

    @ApiModelProperty(value = "三级分类名称")
    private String thirdCategoryName;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "品牌中文名称")
    private String brandCnName;

    @ApiModelProperty(value = "品牌英文名称")
    private String brandEnName;

    @ApiModelProperty(value = "货品附件集合")
    private List<PhInventoryAccessoryVo> annexList;

    @ApiModelProperty(value = "货品配件集合")
    private List<PhInventoryAccessoryVo> accessoryList;

    @ApiModelProperty("货品属性信息")
    private List<CloudTradeInventoryProperty> propertyList;

}
